<body>
  Passes if you see PASS in the text field below:<br>
  <input dir=rtl id=inp size=3><!-- Hide blinking caret --><div style="display:inline-block;background:white; width:20px;height:2em;margin-left:-4px;vertical-align:middle"></div>
  <script>
    var text="Start of dummy text-"
    while (text.length <= 65536)
    {
        text += text.length;
        text += "abcdefghijklmn pqrstuvwxyz"
    }
    text += "-----PASS"
    elm = document.getElementById("inp");
    elm.value = text;
  </script></body></html>
